<div class="row row-cards justify-content-center">
    <div class="col-12">
        <div class="card">
            <div class="card-header">
                <ol class="breadcrumb breadcrumb-arrows" aria-label="breadcrumbs">
                    <li class="breadcrumb-item"><a href="/">首页</a></li>
                    <li class="breadcrumb-item"><a href="/tags">标签列表</a></li>
                    <li class="breadcrumb-item active" aria-current="page"><a href="">{!! $data->icon !!} {{$data->name}}</a></li>
                </ol>
            </div>
            <div class="card-header">
                <ul class="nav nav-pills card-header-pills">
                    @if(!count(request()->all()))
                        <li class="nav-item">
                            <a class="nav-link active fw-bold" href="/tags/{{$data->id}}.html">
                                <svg xmlns="http://www.w3.org/2000/svg" class="icon me-1 d-none d-sm-block" width="24"
                                     height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
                                     stroke-linecap="round" stroke-linejoin="round">
                                    <path d="M0 0h24v24H0z" stroke="none"/>
                                    <circle cx="12" cy="12" r="9"/>
                                    <path d="M12 7v5l3 3"/>
                                </svg>
                                {{__('app.latest')}}</a>
                        </li>
                    @else
                        <li class="nav-item">
                            <a class="nav-link" href="/tags/{{$data->id}}.html">
                                <svg xmlns="http://www.w3.org/2000/svg" class="icon me-1 d-none d-sm-block" width="24"
                                     height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
                                     stroke-linecap="round" stroke-linejoin="round">
                                    <path d="M0 0h24v24H0z" stroke="none"/>
                                    <circle cx="12" cy="12" r="9"/>
                                    <path d="M12 7v5l3 3"/>
                                </svg>
                                {{__('app.latest')}}</a>
                        </li>
                    @endif
                    @foreach($topic_menu as $data)
                        @if(\Hyperf\Utils\Str::contains(core_http_url(),$data['parameter']))
                            <li class="nav-item">
                                <a class="nav-link active fw-bold" href="{{$data['url']}}">
                                    {!!$data['icon']!!}{{$data['name']}}</a>
                            </li>
                        @else
                            <li class="nav-item">
                                <a class="nav-link" href="{{$data['url']}}">
                                    {!!$data['icon']!!}{{$data['name']}}</a>
                            </li>
                        @endif
                    @endforeach
                    <li class="nav-item ms-auto">
                        <div class="dropdown">
                            <a href="#" class="btn-action dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><!-- Download SVG icon from http://tabler-icons.io/i/dots-vertical -->
                                <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="12" cy="12" r="1" /><circle cx="12" cy="19" r="1" /><circle cx="12" cy="5" r="1" /></svg>
                            </a>
                            <div class="dropdown-menu dropdown-menu-end">
                                @foreach(Itf()->get('ui-home-tabs-dropdown') as $k=>$v)
                                    @if(call_user_func($v['enable'])===true)
                                        @include($v['view'])
                                    @endif
                                @endforeach
                            </div>
                        </div>
                    </li>
                </ul>
            </div>

            @if($page->count())
                @foreach($page as $data)
                    @include('App::index.style2')
                @endforeach
            @else
                <div class="col-md-12">
                    <div class="border-0 card card-body">
                        <div class="text-center card-title">{{__("app.No more results")}}</div>
                    </div>
                </div>
            @endif
            <div class="mt-2">
                {!! make_page($page) !!}
            </div>
        </div>
    </div>
</div>